package com.dynamic.model.common.vo;

import java.util.List;

public final class Page<T> {
    private static final int DEFAULT_PAGE_SIZE = 10;  
    
    private static final int DEFAULT_CURRENT_PAGE = 1;  
	
    protected Long total;
    
    protected List<T> rows;
    
    protected int limit=0;
    
    protected int offset = 0;
    
    protected String order ="asc" ;

	public Long getTotal() {
        return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public List<T> getRows() {
		return rows;
	}

	public void setRows(List<T> rows) {
		this.rows = rows;
	}

	public int getLimit() {
		return limit;
	}

	public void setLimit(int limit) {
		this.limit = limit;
	}

	public int getOffset() {
		return offset;
	}

	public void setOffset(int offset) {
		this.offset = offset;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}
}
